using DataDynamics.ActiveReports;
using DDCssLib;
using SS;
using System;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Resources;
namespace TVSBH.func
{
	public class frmOutputRetailBillK80 : ActiveReport3
	{
		private PageHeader pageHeader;
		private Detail detail;
		private PageFooter pageFooter;
		private Label lblComName;
		private Label lblComAddress;
		private Label lblComPhone;
		private Label label3;
		private Label label2;
		private Label label4;
		private Label label5;
		private Label label7;
		public Label lblProviderName;
		public Label lblBillID;
		public Label lvlProviderAddress;
		public Label lblProviderPhone;
		private Label label9;
		private Label label10;
		private Label label11;
		private Label label13;
		private Label label14;
		private Label label15;
		private Line line4;
		private Line line9;
		private ReportHeader reportHeader1;
		private ReportFooter reportFooter1;
		private Label label16;
		public TextBox lblTotalMoney;
		private Label label19;
		private Label lblPrintTime;
		private Label label12;
		public TextBox txtDiscount;
		private Label lblMoneyWord;
		private Label label1;
		private Label label6;
		private Line line1;
		private Label label8;
		public TextBox txtTotalVAT;
		private Func objFunc = new Func();
		public static DataTable objTable;
		public static string Discount = "";
		public static string MoneyByWord = "";
		public static string totalVAT;
		protected override void Dispose(bool disposing)
		{
			if (disposing)
			{
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			ResourceManager resourceManager = new ResourceManager(typeof(frmOutputRetailBillK80));
			this.pageHeader = new PageHeader();
			this.lblComName = new Label();
			this.lblComAddress = new Label();
			this.lblComPhone = new Label();
			this.label3 = new Label();
			this.label2 = new Label();
			this.lblProviderName = new Label();
			this.label4 = new Label();
			this.lblProviderPhone = new Label();
			this.label5 = new Label();
			this.label7 = new Label();
			this.lvlProviderAddress = new Label();
			this.lblBillID = new Label();
			this.detail = new Detail();
			this.label14 = new Label();
			this.label13 = new Label();
			this.label11 = new Label();
			this.label15 = new Label();
			this.line4 = new Line();
			this.line9 = new Line();
			this.label10 = new Label();
			this.label1 = new Label();
			this.label9 = new Label();
			this.pageFooter = new PageFooter();
			this.lblPrintTime = new Label();
			this.reportHeader1 = new ReportHeader();
			this.reportFooter1 = new ReportFooter();
			this.label19 = new Label();
			this.label12 = new Label();
			this.txtDiscount = new TextBox();
			this.lblTotalMoney = new TextBox();
			this.label16 = new Label();
			this.lblMoneyWord = new Label();
			this.label6 = new Label();
			this.line1 = new Line();
			this.label8 = new Label();
			this.txtTotalVAT = new TextBox();
			((ISupportInitialize)this.lblComName).BeginInit();
			((ISupportInitialize)this.lblComAddress).BeginInit();
			((ISupportInitialize)this.lblComPhone).BeginInit();
			((ISupportInitialize)this.label3).BeginInit();
			((ISupportInitialize)this.label2).BeginInit();
			((ISupportInitialize)this.lblProviderName).BeginInit();
			((ISupportInitialize)this.label4).BeginInit();
			((ISupportInitialize)this.lblProviderPhone).BeginInit();
			((ISupportInitialize)this.label5).BeginInit();
			((ISupportInitialize)this.label7).BeginInit();
			((ISupportInitialize)this.lvlProviderAddress).BeginInit();
			((ISupportInitialize)this.lblBillID).BeginInit();
			((ISupportInitialize)this.label14).BeginInit();
			((ISupportInitialize)this.label13).BeginInit();
			((ISupportInitialize)this.label11).BeginInit();
			((ISupportInitialize)this.label15).BeginInit();
			((ISupportInitialize)this.label10).BeginInit();
			((ISupportInitialize)this.label1).BeginInit();
			((ISupportInitialize)this.label9).BeginInit();
			((ISupportInitialize)this.lblPrintTime).BeginInit();
			((ISupportInitialize)this.label19).BeginInit();
			((ISupportInitialize)this.label12).BeginInit();
			((ISupportInitialize)this.txtDiscount).BeginInit();
			((ISupportInitialize)this.lblTotalMoney).BeginInit();
			((ISupportInitialize)this.label16).BeginInit();
			((ISupportInitialize)this.lblMoneyWord).BeginInit();
			((ISupportInitialize)this.label6).BeginInit();
			((ISupportInitialize)this.label8).BeginInit();
			((ISupportInitialize)this.txtTotalVAT).BeginInit();
			((ISupportInitialize)this).BeginInit();
			this.pageHeader.Height = 0f;
			this.pageHeader.Name = "pageHeader";
			this.lblComName.Border.BottomColor = Color.Black;
			this.lblComName.Border.BottomStyle = BorderLineStyle.None;
			this.lblComName.Border.LeftColor = Color.Black;
			this.lblComName.Border.LeftStyle = BorderLineStyle.None;
			this.lblComName.Border.RightColor = Color.Black;
			this.lblComName.Border.RightStyle = BorderLineStyle.None;
			this.lblComName.Border.TopColor = Color.Black;
			this.lblComName.Border.TopStyle = BorderLineStyle.None;
			this.lblComName.Height = 0.1889764f;
			this.lblComName.HyperLink = null;
			this.lblComName.Left = 0f;
			this.lblComName.Name = "lblComName";
			this.lblComName.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; font-size: 8.25pt; vertical-align: middle; ";
			this.lblComName.Text = "-:-";
			this.lblComName.Top = 0f;
			this.lblComName.Width = 2.925197f;
			this.lblComAddress.Border.BottomColor = Color.Black;
			this.lblComAddress.Border.BottomStyle = BorderLineStyle.None;
			this.lblComAddress.Border.LeftColor = Color.Black;
			this.lblComAddress.Border.LeftStyle = BorderLineStyle.None;
			this.lblComAddress.Border.RightColor = Color.Black;
			this.lblComAddress.Border.RightStyle = BorderLineStyle.None;
			this.lblComAddress.Border.TopColor = Color.Black;
			this.lblComAddress.Border.TopStyle = BorderLineStyle.None;
			this.lblComAddress.Height = 0.1889764f;
			this.lblComAddress.HyperLink = null;
			this.lblComAddress.Left = 0f;
			this.lblComAddress.Name = "lblComAddress";
			this.lblComAddress.Style = "ddo-char-set: 0; text-align: center; font-weight: normal; font-size: 9pt; vertical-align: middle; ";
			this.lblComAddress.Text = "-:-";
			this.lblComAddress.Top = 0.1875f;
			this.lblComAddress.Width = 2.925197f;
			this.lblComPhone.Border.BottomColor = Color.Black;
			this.lblComPhone.Border.BottomStyle = BorderLineStyle.None;
			this.lblComPhone.Border.LeftColor = Color.Black;
			this.lblComPhone.Border.LeftStyle = BorderLineStyle.None;
			this.lblComPhone.Border.RightColor = Color.Black;
			this.lblComPhone.Border.RightStyle = BorderLineStyle.None;
			this.lblComPhone.Border.TopColor = Color.Black;
			this.lblComPhone.Border.TopStyle = BorderLineStyle.None;
			this.lblComPhone.Height = 0.1889764f;
			this.lblComPhone.HyperLink = null;
			this.lblComPhone.Left = 0f;
			this.lblComPhone.Name = "lblComPhone";
			this.lblComPhone.Style = "ddo-char-set: 0; text-align: center; font-weight: normal; font-size: 9pt; vertical-align: middle; ";
			this.lblComPhone.Text = "-:-";
			this.lblComPhone.Top = 0.375f;
			this.lblComPhone.Width = 2.925197f;
			this.label3.Border.BottomColor = Color.Black;
			this.label3.Border.BottomStyle = BorderLineStyle.None;
			this.label3.Border.LeftColor = Color.Black;
			this.label3.Border.LeftStyle = BorderLineStyle.None;
			this.label3.Border.RightColor = Color.Black;
			this.label3.Border.RightStyle = BorderLineStyle.None;
			this.label3.Border.TopColor = Color.Black;
			this.label3.Border.TopStyle = BorderLineStyle.None;
			this.label3.Height = 0.1968504f;
			this.label3.HyperLink = null;
			this.label3.Left = 0f;
			this.label3.Name = "label3";
			this.label3.Style = "ddo-char-set: 163; text-align: center; font-weight: bold; font-size: 9.75pt; vertical-align: middle; ";
			this.label3.Text = "HOÁ ĐƠN BÁN LẺ";
			this.label3.Top = 0.6041667f;
			this.label3.Width = 2.925197f;
			this.label2.Border.BottomColor = Color.Black;
			this.label2.Border.BottomStyle = BorderLineStyle.None;
			this.label2.Border.LeftColor = Color.Black;
			this.label2.Border.LeftStyle = BorderLineStyle.None;
			this.label2.Border.RightColor = Color.Black;
			this.label2.Border.RightStyle = BorderLineStyle.None;
			this.label2.Border.TopColor = Color.Black;
			this.label2.Border.TopStyle = BorderLineStyle.None;
			this.label2.Height = 0.1875f;
			this.label2.HyperLink = null;
			this.label2.Left = 0.01091671f;
			this.label2.Name = "label2";
			this.label2.Style = "ddo-char-set: 1; text-align: right; background-color: Silver; font-size: 9pt; ";
			this.label2.Text = "Khách hàng :  ";
			this.label2.Top = 1.036625f;
			this.label2.Width = 0.875f;
			this.lblProviderName.Border.BottomColor = Color.Black;
			this.lblProviderName.Border.BottomStyle = BorderLineStyle.None;
			this.lblProviderName.Border.LeftColor = Color.Black;
			this.lblProviderName.Border.LeftStyle = BorderLineStyle.None;
			this.lblProviderName.Border.RightColor = Color.Black;
			this.lblProviderName.Border.RightStyle = BorderLineStyle.None;
			this.lblProviderName.Border.TopColor = Color.Black;
			this.lblProviderName.Border.TopStyle = BorderLineStyle.None;
			this.lblProviderName.Height = 0.1889764f;
			this.lblProviderName.HyperLink = null;
			this.lblProviderName.Left = 0.9479167f;
			this.lblProviderName.Name = "lblProviderName";
			this.lblProviderName.Style = "ddo-char-set: 1; background-color: Silver; font-size: 9pt; ";
			this.lblProviderName.Text = "";
			this.lblProviderName.Top = 1.036458f;
			this.lblProviderName.Width = 1.972441f;
			this.label4.Border.BottomColor = Color.Black;
			this.label4.Border.BottomStyle = BorderLineStyle.None;
			this.label4.Border.LeftColor = Color.Black;
			this.label4.Border.LeftStyle = BorderLineStyle.None;
			this.label4.Border.RightColor = Color.Black;
			this.label4.Border.RightStyle = BorderLineStyle.None;
			this.label4.Border.TopColor = Color.Black;
			this.label4.Border.TopStyle = BorderLineStyle.None;
			this.label4.Height = 0.1889764f;
			this.label4.HyperLink = null;
			this.label4.Left = 0.01091671f;
			this.label4.Name = "label4";
			this.label4.Style = "ddo-char-set: 1; text-align: right; background-color: Silver; font-size: 9pt; ";
			this.label4.Text = "Điện thoại :  ";
			this.label4.Top = 1.250333f;
			this.label4.Width = 0.8740157f;
			this.lblProviderPhone.Border.BottomColor = Color.Black;
			this.lblProviderPhone.Border.BottomStyle = BorderLineStyle.None;
			this.lblProviderPhone.Border.LeftColor = Color.Black;
			this.lblProviderPhone.Border.LeftStyle = BorderLineStyle.None;
			this.lblProviderPhone.Border.RightColor = Color.Black;
			this.lblProviderPhone.Border.RightStyle = BorderLineStyle.None;
			this.lblProviderPhone.Border.TopColor = Color.Black;
			this.lblProviderPhone.Border.TopStyle = BorderLineStyle.None;
			this.lblProviderPhone.Height = 0.1889764f;
			this.lblProviderPhone.HyperLink = null;
			this.lblProviderPhone.Left = 0.9479167f;
			this.lblProviderPhone.Name = "lblProviderPhone";
			this.lblProviderPhone.Style = "ddo-char-set: 1; background-color: Silver; font-size: 9pt; ";
			this.lblProviderPhone.Text = "";
			this.lblProviderPhone.Top = 1.25f;
			this.lblProviderPhone.Width = 1.972441f;
			this.label5.Border.BottomColor = Color.Black;
			this.label5.Border.BottomStyle = BorderLineStyle.None;
			this.label5.Border.LeftColor = Color.Black;
			this.label5.Border.LeftStyle = BorderLineStyle.None;
			this.label5.Border.RightColor = Color.Black;
			this.label5.Border.RightStyle = BorderLineStyle.None;
			this.label5.Border.TopColor = Color.Black;
			this.label5.Border.TopStyle = BorderLineStyle.None;
			this.label5.Height = 0.1875f;
			this.label5.HyperLink = null;
			this.label5.Left = 0.01091671f;
			this.label5.Name = "label5";
			this.label5.Style = "ddo-char-set: 1; text-align: right; background-color: Silver; font-size: 9pt; ";
			this.label5.Text = "Hoá đơn :  ";
			this.label5.Top = 0.8333333f;
			this.label5.Width = 0.875f;
			this.label7.Border.BottomColor = Color.Black;
			this.label7.Border.BottomStyle = BorderLineStyle.None;
			this.label7.Border.LeftColor = Color.Black;
			this.label7.Border.LeftStyle = BorderLineStyle.None;
			this.label7.Border.RightColor = Color.Black;
			this.label7.Border.RightStyle = BorderLineStyle.None;
			this.label7.Border.TopColor = Color.Black;
			this.label7.Border.TopStyle = BorderLineStyle.None;
			this.label7.Height = 0.1875f;
			this.label7.HyperLink = null;
			this.label7.Left = 0.01041667f;
			this.label7.Name = "label7";
			this.label7.Style = "ddo-char-set: 1; text-align: right; background-color: Silver; font-size: 9pt; ";
			this.label7.Text = "Địa chỉ :  ";
			this.label7.Top = 1.458333f;
			this.label7.Width = 0.875f;
			this.lvlProviderAddress.Border.BottomColor = Color.Black;
			this.lvlProviderAddress.Border.BottomStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.LeftColor = Color.Black;
			this.lvlProviderAddress.Border.LeftStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.RightColor = Color.Black;
			this.lvlProviderAddress.Border.RightStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Border.TopColor = Color.Black;
			this.lvlProviderAddress.Border.TopStyle = BorderLineStyle.None;
			this.lvlProviderAddress.Height = 0.1889764f;
			this.lvlProviderAddress.HyperLink = null;
			this.lvlProviderAddress.Left = 0.947917f;
			this.lvlProviderAddress.Name = "lvlProviderAddress";
			this.lvlProviderAddress.Style = "ddo-char-set: 1; background-color: Silver; font-size: 9pt; ";
			this.lvlProviderAddress.Text = "";
			this.lvlProviderAddress.Top = 1.458333f;
			this.lvlProviderAddress.Width = 1.972441f;
			this.lblBillID.Border.BottomColor = Color.Black;
			this.lblBillID.Border.BottomStyle = BorderLineStyle.None;
			this.lblBillID.Border.LeftColor = Color.Black;
			this.lblBillID.Border.LeftStyle = BorderLineStyle.None;
			this.lblBillID.Border.RightColor = Color.Black;
			this.lblBillID.Border.RightStyle = BorderLineStyle.None;
			this.lblBillID.Border.TopColor = Color.Black;
			this.lblBillID.Border.TopStyle = BorderLineStyle.None;
			this.lblBillID.Height = 0.1889764f;
			this.lblBillID.HyperLink = null;
			this.lblBillID.Left = 0.9479167f;
			this.lblBillID.Name = "lblBillID";
			this.lblBillID.Style = "ddo-char-set: 1; background-color: Silver; font-size: 9pt; ";
			this.lblBillID.Text = "";
			this.lblBillID.Top = 0.8333333f;
			this.lblBillID.Width = 1.972441f;
			this.detail.ColumnSpacing = 0f;
			this.detail.Controls.AddRange(new ARControl[]
			{
				this.label14,
				this.label13,
				this.label11,
				this.label15,
				this.line4,
				this.line9,
				this.label10,
				this.label1,
				this.label9
			});
			this.detail.Height = 0.5104167f;
			this.detail.Name = "detail";
			this.label14.Border.BottomColor = Color.Black;
			this.label14.Border.BottomStyle = BorderLineStyle.None;
			this.label14.Border.LeftColor = Color.Black;
			this.label14.Border.LeftStyle = BorderLineStyle.None;
			this.label14.Border.RightColor = Color.Black;
			this.label14.Border.RightStyle = BorderLineStyle.None;
			this.label14.Border.TopColor = Color.Black;
			this.label14.Border.TopStyle = BorderLineStyle.None;
			this.label14.DataField = "ProductPrice2";
			this.label14.Height = 0.22f;
			this.label14.HyperLink = null;
			this.label14.Left = 1.480556f;
			this.label14.Name = "label14";
			this.label14.Style = "ddo-char-set: 1; text-align: right; font-weight: normal; background-color: White; font-size: 8pt; vertical-align: middle; ";
			this.label14.Text = "";
			this.label14.Top = 0.28125f;
			this.label14.Width = 0.6f;
			this.label13.Border.BottomColor = Color.Black;
			this.label13.Border.BottomStyle = BorderLineStyle.None;
			this.label13.Border.LeftColor = Color.Black;
			this.label13.Border.LeftStyle = BorderLineStyle.None;
			this.label13.Border.RightColor = Color.Black;
			this.label13.Border.RightStyle = BorderLineStyle.None;
			this.label13.Border.TopColor = Color.Black;
			this.label13.Border.TopStyle = BorderLineStyle.None;
			this.label13.DataField = "ProductNumber";
			this.label13.Height = 0.22f;
			this.label13.HyperLink = null;
			this.label13.Left = 1.075695f;
			this.label13.Name = "label13";
			this.label13.Style = "ddo-char-set: 1; text-align: right; font-weight: normal; background-color: White; font-size: 8pt; vertical-align: middle; ";
			this.label13.Text = "";
			this.label13.Top = 0.28125f;
			this.label13.Width = 0.35f;
			this.label11.Border.BottomColor = Color.Black;
			this.label11.Border.BottomStyle = BorderLineStyle.None;
			this.label11.Border.LeftColor = Color.Black;
			this.label11.Border.LeftStyle = BorderLineStyle.None;
			this.label11.Border.RightColor = Color.Black;
			this.label11.Border.RightStyle = BorderLineStyle.None;
			this.label11.Border.TopColor = Color.Black;
			this.label11.Border.TopStyle = BorderLineStyle.None;
			this.label11.DataField = "ProductUnit";
			this.label11.Height = 0.22f;
			this.label11.HyperLink = null;
			this.label11.Left = 0.416667f;
			this.label11.Name = "label11";
			this.label11.Style = "ddo-char-set: 1; text-align: left; font-weight: normal; background-color: White; font-size: 8pt; vertical-align: middle; ";
			this.label11.Text = "";
			this.label11.Top = 0.28125f;
			this.label11.Width = 0.6041667f;
			this.label15.Border.BottomColor = Color.Black;
			this.label15.Border.BottomStyle = BorderLineStyle.None;
			this.label15.Border.LeftColor = Color.Black;
			this.label15.Border.LeftStyle = BorderLineStyle.None;
			this.label15.Border.RightColor = Color.Black;
			this.label15.Border.RightStyle = BorderLineStyle.None;
			this.label15.Border.TopColor = Color.Black;
			this.label15.Border.TopStyle = BorderLineStyle.None;
			this.label15.DataField = "ProductMoney";
			this.label15.Height = 0.22f;
			this.label15.HyperLink = null;
			this.label15.Left = 2.135417f;
			this.label15.Name = "label15";
			this.label15.Style = "ddo-char-set: 1; text-align: right; font-weight: normal; background-color: White; font-size: 8pt; vertical-align: middle; ";
			this.label15.Text = "";
			this.label15.Top = 0.28125f;
			this.label15.Width = 0.75f;
			this.line4.Border.BottomColor = Color.Black;
			this.line4.Border.BottomStyle = BorderLineStyle.None;
			this.line4.Border.LeftColor = Color.Black;
			this.line4.Border.LeftStyle = BorderLineStyle.None;
			this.line4.Border.RightColor = Color.Black;
			this.line4.Border.RightStyle = BorderLineStyle.None;
			this.line4.Border.TopColor = Color.Black;
			this.line4.Border.TopStyle = BorderLineStyle.None;
			this.line4.Height = 0.2291667f;
			this.line4.Left = 2.580833f;
			this.line4.LineWeight = 1f;
			this.line4.Name = "line4";
			this.line4.Top = 0f;
			this.line4.Width = 0f;
			this.line4.X1 = 2.580833f;
			this.line4.X2 = 2.580833f;
			this.line4.Y1 = 0.2291667f;
			this.line4.Y2 = 0f;
			this.line9.Border.BottomColor = Color.Black;
			this.line9.Border.BottomStyle = BorderLineStyle.None;
			this.line9.Border.LeftColor = Color.Black;
			this.line9.Border.LeftStyle = BorderLineStyle.None;
			this.line9.Border.RightColor = Color.Black;
			this.line9.Border.RightStyle = BorderLineStyle.None;
			this.line9.Border.TopColor = Color.Black;
			this.line9.Border.TopStyle = BorderLineStyle.None;
			this.line9.Height = 1.192093E-07f;
			this.line9.Left = 0.375f;
			this.line9.LineStyle = LineStyle.Dash;
			this.line9.LineWeight = 1f;
			this.line9.Name = "line9";
			this.line9.Top = 0.5f;
			this.line9.Width = 2.558071f;
			this.line9.X1 = 0.375f;
			this.line9.X2 = 2.933071f;
			this.line9.Y1 = 0.5000001f;
			this.line9.Y2 = 0.5f;
			this.label10.Border.BottomColor = Color.Black;
			this.label10.Border.BottomStyle = BorderLineStyle.None;
			this.label10.Border.LeftColor = Color.Black;
			this.label10.Border.LeftStyle = BorderLineStyle.None;
			this.label10.Border.RightColor = Color.Black;
			this.label10.Border.RightStyle = BorderLineStyle.None;
			this.label10.Border.TopColor = Color.Black;
			this.label10.Border.TopStyle = BorderLineStyle.None;
			this.label10.DataField = "ProductName";
			this.label10.Height = 0.2204724f;
			this.label10.HyperLink = null;
			this.label10.Left = 0.4022916f;
			this.label10.Name = "label10";
			this.label10.Style = "text-align: left; font-weight: normal; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.label10.Text = "";
			this.label10.Top = 0.01041667f;
			this.label10.Width = 2.488189f;
			this.label1.Border.BottomColor = Color.Black;
			this.label1.Border.BottomStyle = BorderLineStyle.None;
			this.label1.Border.LeftColor = Color.Black;
			this.label1.Border.LeftStyle = BorderLineStyle.None;
			this.label1.Border.RightColor = Color.Black;
			this.label1.Border.RightStyle = BorderLineStyle.None;
			this.label1.Border.TopColor = Color.Black;
			this.label1.Border.TopStyle = BorderLineStyle.None;
			this.label1.Height = 0.2308891f;
			this.label1.HyperLink = null;
			this.label1.Left = 0.3333333f;
			this.label1.Name = "label1";
			this.label1.Style = "text-align: center; background-color: White; vertical-align: middle; ";
			this.label1.Text = ": ";
			this.label1.Top = 0f;
			this.label1.Width = 0.07874016f;
			this.label9.Border.BottomColor = Color.Black;
			this.label9.Border.BottomStyle = BorderLineStyle.None;
			this.label9.Border.LeftColor = Color.Black;
			this.label9.Border.LeftStyle = BorderLineStyle.None;
			this.label9.Border.RightColor = Color.Black;
			this.label9.Border.RightStyle = BorderLineStyle.None;
			this.label9.Border.TopColor = Color.Black;
			this.label9.Border.TopStyle = BorderLineStyle.None;
			this.label9.DataField = "TT";
			this.label9.Height = 0.225f;
			this.label9.HyperLink = null;
			this.label9.Left = 0.01041671f;
			this.label9.Name = "label9";
			this.label9.Style = "text-align: right; font-weight: normal; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.label9.Text = "";
			this.label9.Top = 0f;
			this.label9.Width = 0.3179167f;
			this.pageFooter.Height = 0f;
			this.pageFooter.Name = "pageFooter";
			this.lblPrintTime.Border.BottomColor = Color.Black;
			this.lblPrintTime.Border.BottomStyle = BorderLineStyle.None;
			this.lblPrintTime.Border.LeftColor = Color.Black;
			this.lblPrintTime.Border.LeftStyle = BorderLineStyle.None;
			this.lblPrintTime.Border.RightColor = Color.Black;
			this.lblPrintTime.Border.RightStyle = BorderLineStyle.None;
			this.lblPrintTime.Border.TopColor = Color.Black;
			this.lblPrintTime.Border.TopStyle = BorderLineStyle.None;
			this.lblPrintTime.Height = 0.1811024f;
			this.lblPrintTime.HyperLink = null;
			this.lblPrintTime.Left = 0.02083333f;
			this.lblPrintTime.Name = "lblPrintTime";
			this.lblPrintTime.Style = "color: Gray; ddo-char-set: 163; text-align: right; font-weight: normal; font-style: italic; background-color: White; font-size: 8.25pt; vertical-align: middle; ";
			this.lblPrintTime.Text = "";
			this.lblPrintTime.Top = 1.395833f;
			this.lblPrintTime.Width = 2.874016f;
			this.reportHeader1.Controls.AddRange(new ARControl[]
			{
				this.lblComName,
				this.lblComAddress,
				this.lblComPhone,
				this.label3,
				this.lblBillID,
				this.lblProviderName,
				this.label4,
				this.lblProviderPhone,
				this.label5,
				this.label7,
				this.lvlProviderAddress,
				this.label2
			});
			this.reportHeader1.Height = 1.6875f;
			this.reportHeader1.Name = "reportHeader1";
			this.reportFooter1.Controls.AddRange(new ARControl[]
			{
				this.label19,
				this.label12,
				this.txtDiscount,
				this.lblTotalMoney,
				this.label16,
				this.lblMoneyWord,
				this.label6,
				this.line1,
				this.lblPrintTime,
				this.label8,
				this.txtTotalVAT
			});
			this.reportFooter1.Height = 1.635417f;
			this.reportFooter1.Name = "reportFooter1";
			this.label19.Border.BottomColor = Color.Black;
			this.label19.Border.BottomStyle = BorderLineStyle.None;
			this.label19.Border.LeftColor = Color.Black;
			this.label19.Border.LeftStyle = BorderLineStyle.None;
			this.label19.Border.RightColor = Color.Black;
			this.label19.Border.RightStyle = BorderLineStyle.None;
			this.label19.Border.TopColor = Color.Black;
			this.label19.Border.TopStyle = BorderLineStyle.None;
			this.label19.Height = 0.1574803f;
			this.label19.HyperLink = null;
			this.label19.Left = 0.01041667f;
			this.label19.Name = "label19";
			this.label19.Style = "ddo-char-set: 163; text-align: center; font-weight: normal; font-style: italic; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.label19.Text = "Khách hàng mua xin kiểm tra lại hàng !";
			this.label19.Top = 0.9583333f;
			this.label19.Width = 2.901575f;
			this.label12.Border.BottomColor = Color.Black;
			this.label12.Border.BottomStyle = BorderLineStyle.None;
			this.label12.Border.LeftColor = Color.Black;
			this.label12.Border.LeftStyle = BorderLineStyle.None;
			this.label12.Border.RightColor = Color.Black;
			this.label12.Border.RightStyle = BorderLineStyle.None;
			this.label12.Border.TopColor = Color.Black;
			this.label12.Border.TopStyle = BorderLineStyle.None;
			this.label12.Height = 0.22f;
			this.label12.HyperLink = null;
			this.label12.Left = 1.307661f;
			this.label12.Name = "label12";
			this.label12.Style = "ddo-char-set: 163; text-align: right; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.label12.Text = "Chiết khấu : ";
			this.label12.Top = 0f;
			this.label12.Width = 0.8016667f;
			this.txtDiscount.Border.BottomColor = Color.Black;
			this.txtDiscount.Border.BottomStyle = BorderLineStyle.None;
			this.txtDiscount.Border.LeftColor = Color.Black;
			this.txtDiscount.Border.LeftStyle = BorderLineStyle.None;
			this.txtDiscount.Border.RightColor = Color.Black;
			this.txtDiscount.Border.RightStyle = BorderLineStyle.None;
			this.txtDiscount.Border.TopColor = Color.Black;
			this.txtDiscount.Border.TopStyle = BorderLineStyle.None;
			this.txtDiscount.Height = 0.25f;
			this.txtDiscount.Left = 2.141978f;
			this.txtDiscount.Name = "txtDiscount";
			this.txtDiscount.OutputFormat = resourceManager.GetString("txtDiscount.OutputFormat");
			this.txtDiscount.Style = "ddo-char-set: 163; text-align: right; font-weight: normal; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.txtDiscount.Text = null;
			this.txtDiscount.Top = 0f;
			this.txtDiscount.Width = 0.75f;
			this.lblTotalMoney.Border.BottomColor = Color.Black;
			this.lblTotalMoney.Border.BottomStyle = BorderLineStyle.None;
			this.lblTotalMoney.Border.LeftColor = Color.Black;
			this.lblTotalMoney.Border.LeftStyle = BorderLineStyle.None;
			this.lblTotalMoney.Border.RightColor = Color.Black;
			this.lblTotalMoney.Border.RightStyle = BorderLineStyle.None;
			this.lblTotalMoney.Border.TopColor = Color.Black;
			this.lblTotalMoney.Border.TopStyle = BorderLineStyle.None;
			this.lblTotalMoney.Height = 0.25f;
			this.lblTotalMoney.Left = 2.141978f;
			this.lblTotalMoney.Name = "lblTotalMoney";
			this.lblTotalMoney.OutputFormat = resourceManager.GetString("lblTotalMoney.OutputFormat");
			this.lblTotalMoney.Style = "ddo-char-set: 163; text-align: right; font-weight: normal; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.lblTotalMoney.Text = null;
			this.lblTotalMoney.Top = 0.1889764f;
			this.lblTotalMoney.Width = 0.75f;
			this.label16.Border.BottomColor = Color.Black;
			this.label16.Border.BottomStyle = BorderLineStyle.None;
			this.label16.Border.LeftColor = Color.Black;
			this.label16.Border.LeftStyle = BorderLineStyle.None;
			this.label16.Border.RightColor = Color.Black;
			this.label16.Border.RightStyle = BorderLineStyle.None;
			this.label16.Border.TopColor = Color.Black;
			this.label16.Border.TopStyle = BorderLineStyle.None;
			this.label16.Height = 0.22f;
			this.label16.HyperLink = null;
			this.label16.Left = 1.370161f;
			this.label16.Name = "label16";
			this.label16.Style = "ddo-char-set: 163; text-align: right; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.label16.Text = "Thành tiền : ";
			this.label16.Top = 0.2086614f;
			this.label16.Width = 0.7391667f;
			this.lblMoneyWord.Border.BottomColor = Color.Black;
			this.lblMoneyWord.Border.BottomStyle = BorderLineStyle.None;
			this.lblMoneyWord.Border.LeftColor = Color.Black;
			this.lblMoneyWord.Border.LeftStyle = BorderLineStyle.None;
			this.lblMoneyWord.Border.RightColor = Color.Black;
			this.lblMoneyWord.Border.RightStyle = BorderLineStyle.None;
			this.lblMoneyWord.Border.TopColor = Color.Black;
			this.lblMoneyWord.Border.TopStyle = BorderLineStyle.None;
			this.lblMoneyWord.Height = 0.3464567f;
			this.lblMoneyWord.HyperLink = null;
			this.lblMoneyWord.Left = 0.01041671f;
			this.lblMoneyWord.Name = "lblMoneyWord";
			this.lblMoneyWord.Style = "ddo-char-set: 163; text-align: right; font-style: italic; background-color: White; font-size: 9pt; vertical-align: top; ";
			this.lblMoneyWord.Text = "";
			this.lblMoneyWord.Top = 0.4895833f;
			this.lblMoneyWord.Width = 2.88189f;
			this.label6.Border.BottomColor = Color.Black;
			this.label6.Border.BottomStyle = BorderLineStyle.None;
			this.label6.Border.LeftColor = Color.Black;
			this.label6.Border.LeftStyle = BorderLineStyle.None;
			this.label6.Border.RightColor = Color.Black;
			this.label6.Border.RightStyle = BorderLineStyle.None;
			this.label6.Border.TopColor = Color.Black;
			this.label6.Border.TopStyle = BorderLineStyle.None;
			this.label6.Height = 0.1574803f;
			this.label6.HyperLink = null;
			this.label6.Left = 0.01041667f;
			this.label6.Name = "label6";
			this.label6.Style = "ddo-char-set: 163; text-align: center; font-weight: normal; font-style: italic; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.label6.Text = "Hàng đã mua không đổi lại, xin cảm ơn !";
			this.label6.Top = 1.166667f;
			this.label6.Width = 2.901575f;
			this.line1.Border.BottomColor = Color.Black;
			this.line1.Border.BottomStyle = BorderLineStyle.None;
			this.line1.Border.LeftColor = Color.Black;
			this.line1.Border.LeftStyle = BorderLineStyle.None;
			this.line1.Border.RightColor = Color.Black;
			this.line1.Border.RightStyle = BorderLineStyle.None;
			this.line1.Border.TopColor = Color.Black;
			this.line1.Border.TopStyle = BorderLineStyle.None;
			this.line1.Height = 0.001948714f;
			this.line1.Left = 0f;
			this.line1.LineStyle = LineStyle.DashDot;
			this.line1.LineWeight = 1f;
			this.line1.Name = "line1";
			this.line1.Top = 0.9075001f;
			this.line1.Width = 3.015748f;
			this.line1.X1 = 0f;
			this.line1.X2 = 3.015748f;
			this.line1.Y1 = 0.9075001f;
			this.line1.Y2 = 0.9094488f;
			this.label8.Border.BottomColor = Color.Black;
			this.label8.Border.BottomStyle = BorderLineStyle.None;
			this.label8.Border.LeftColor = Color.Black;
			this.label8.Border.LeftStyle = BorderLineStyle.None;
			this.label8.Border.RightColor = Color.Black;
			this.label8.Border.RightStyle = BorderLineStyle.None;
			this.label8.Border.TopColor = Color.Black;
			this.label8.Border.TopStyle = BorderLineStyle.None;
			this.label8.Height = 0.22f;
			this.label8.HyperLink = null;
			this.label8.Left = 0f;
			this.label8.Name = "label8";
			this.label8.Style = "ddo-char-set: 163; text-align: right; background-color: White; font-size: 9pt; vertical-align: middle; ";
			this.label8.Text = "Tổng VAT : ";
			this.label8.Top = 0.03125f;
			this.label8.Width = 0.6766667f;
			this.txtTotalVAT.Border.BottomColor = Color.Black;
			this.txtTotalVAT.Border.BottomStyle = BorderLineStyle.None;
			this.txtTotalVAT.Border.LeftColor = Color.Black;
			this.txtTotalVAT.Border.LeftStyle = BorderLineStyle.None;
			this.txtTotalVAT.Border.RightColor = Color.Black;
			this.txtTotalVAT.Border.RightStyle = BorderLineStyle.None;
			this.txtTotalVAT.Border.TopColor = Color.Black;
			this.txtTotalVAT.Border.TopStyle = BorderLineStyle.None;
			this.txtTotalVAT.Height = 0.25f;
			this.txtTotalVAT.Left = 0.6884832f;
			this.txtTotalVAT.Name = "txtTotalVAT";
			this.txtTotalVAT.OutputFormat = resourceManager.GetString("txtTotalVAT.OutputFormat");
			this.txtTotalVAT.Style = "ddo-char-set: 1; text-align: right; font-weight: normal; background-color: White; font-size: 8pt; vertical-align: middle; ";
			this.txtTotalVAT.Text = null;
			this.txtTotalVAT.Top = 0f;
			this.txtTotalVAT.Width = 0.6875f;
			base.MasterReport = false;
			base.PageSettings.DefaultPaperSize = false;
			base.PageSettings.Margins.Bottom = 0.04330709f;
			base.PageSettings.Margins.Left = 0.03937008f;
			base.PageSettings.Margins.Right = 0f;
			base.PageSettings.Margins.Top = 0.1574803f;
			base.PageSettings.PaperHeight = 11f;
			base.PageSettings.PaperKind = 0;
			base.PageSettings.PaperName = "Custom paper";
			base.PageSettings.PaperWidth = 3.149606f;
			base.PrintWidth = 2.952756f;
			base.Sections.Add(this.reportHeader1);
			base.Sections.Add(this.pageHeader);
			base.Sections.Add(this.detail);
			base.Sections.Add(this.pageFooter);
			base.Sections.Add(this.reportFooter1);
			base.StyleSheet.Add(new StyleSheetRule("font-family: Arial; font-style: normal; text-decoration: none; font-weight: normal; font-size: 10pt; color: Black; ddo-char-set: 204; ", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 16pt; font-weight: bold; ", "Heading1", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-family: Times New Roman; font-size: 14pt; font-weight: bold; font-style: italic; ", "Heading2", "Normal"));
			base.StyleSheet.Add(new StyleSheetRule("font-size: 13pt; font-weight: bold; ", "Heading3", "Normal"));
			((ISupportInitialize)this.lblComName).EndInit();
			((ISupportInitialize)this.lblComAddress).EndInit();
			((ISupportInitialize)this.lblComPhone).EndInit();
			((ISupportInitialize)this.label3).EndInit();
			((ISupportInitialize)this.label2).EndInit();
			((ISupportInitialize)this.lblProviderName).EndInit();
			((ISupportInitialize)this.label4).EndInit();
			((ISupportInitialize)this.lblProviderPhone).EndInit();
			((ISupportInitialize)this.label5).EndInit();
			((ISupportInitialize)this.label7).EndInit();
			((ISupportInitialize)this.lvlProviderAddress).EndInit();
			((ISupportInitialize)this.lblBillID).EndInit();
			((ISupportInitialize)this.label14).EndInit();
			((ISupportInitialize)this.label13).EndInit();
			((ISupportInitialize)this.label11).EndInit();
			((ISupportInitialize)this.label15).EndInit();
			((ISupportInitialize)this.label10).EndInit();
			((ISupportInitialize)this.label1).EndInit();
			((ISupportInitialize)this.label9).EndInit();
			((ISupportInitialize)this.lblPrintTime).EndInit();
			((ISupportInitialize)this.label19).EndInit();
			((ISupportInitialize)this.label12).EndInit();
			((ISupportInitialize)this.txtDiscount).EndInit();
			((ISupportInitialize)this.lblTotalMoney).EndInit();
			((ISupportInitialize)this.label16).EndInit();
			((ISupportInitialize)this.lblMoneyWord).EndInit();
			((ISupportInitialize)this.label6).EndInit();
			((ISupportInitialize)this.label8).EndInit();
			((ISupportInitialize)this.txtTotalVAT).EndInit();
			((ISupportInitialize)this).EndInit();
		}
		public frmOutputRetailBillK80()
		{
			this.InitializeComponent();
			try
			{
				frmOutputRetailBillK80.objTable.Columns.Add("TT", typeof(int));
			}
			catch
			{
			}
			for (int i = 0; i < frmOutputRetailBillK80.objTable.Rows.Count; i++)
			{
				frmOutputRetailBillK80.objTable.Rows[i]["TT"] = i + 1;
			}
			this.txtDiscount.Text = frmOutputRetailBillK80.Discount;
			this.lblMoneyWord.Text = frmOutputRetailBillK80.MoneyByWord;
			this.txtTotalVAT.Text = frmOutputRetailBillK80.totalVAT;
			base.DataSource = frmOutputRetailBillK80.objTable;
			this.lblComName.Text = this.objFunc.getCompanyInfor("ComName").ToUpper();
			this.lblComAddress.Text = "Địa chỉ : " + this.objFunc.getCompanyInfor("ComAddress");
			this.lblComPhone.Text = "Điện thoại : " + this.objFunc.getCompanyInfor("ComPhone").ToUpper();
			this.lblMoneyWord.Text = frmOutputRetailBillK80.MoneyByWord;
			this.lblPrintTime.Text = string.Concat(new string[]
			{
				"In lúc ",
				DateTime.Now.Hour.ToString(),
				":",
				DateTime.Now.Minute.ToString(),
				" Ngày ",
				DateTime.Now.Day.ToString(),
				"/",
				DateTime.Now.Month.ToString(),
				"/",
				DateTime.Now.Year.ToString()
			});
		}
	}
}
